import Vue from 'vue'
import router from './router'
import App from './App.vue'

import './utils/prismJS/prism.js';
import './utils/prismJS/prism.css';

Vue.config.productionTip = false

import grButton from '../packages/button' //按钮组件
Vue.use(grButton);
import grIcon from '../packages/icon' //图标组件
Vue.use(grIcon);
import grTable from '../packages/table' //表格组件
Vue.use(grTable);
import grToast from '../packages/toast' //toast组件
Vue.use(grToast);

import util from './utils'
Vue.prototype.$util = util; //工具类

import './utils/filter.js' //全局过滤器


new Vue({
	router,
	render: h => h(App),
}).$mount('#app')
